package com.ruoyi.warning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.warning.domain.entity.Contacts;
import com.ruoyi.warning.domain.query.ContactsQuery;
import com.ruoyi.warning.domain.vo.ContactsVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 告警联系人表 服务类
 * </p>
 *
 * @author chenhc
 * @since 2025-02-06
 */
public interface IContactsService extends IService<Contacts> {

    TableDataInfo getContactsPage(ContactsQuery query);

    String saveContacts(Contacts contacts);

    String deleteContacts(List<String> ids);

    String updateContacts(Contacts contacts);

    Contacts getDetails(Long id);

    String updateContactStatus(Contacts contacts);

    List<ContactsVO> getContactsList(ContactsQuery query);

    void export(HttpServletResponse response);
}
